$OpenBSD: patch-configure_in,v 1.2 2007/05/25 14:32:37 espie Exp $
--- configure.in.orig	Mon May 14 13:25:10 2007
+++ configure.in	Fri May 25 13:58:57 2007
@@ -397,9 +397,6 @@ if test "x$with_berkeley_db" != xno; then
   KDE_CHECK_HEADER([db_cxx.h],
     [:], [berkeley_db=no])
 
-  AC_CHECK_LIB([$ac_db_name], [main],
-    [:], [berkeley_db=no])
-
   if test "x$berkeley_db" = xyes; then
     AC_DEFINE(BERKELEY_DB, 1, [Define if you have Berkeley DB++ installed])
     BERKELEY_DB_LIBS="-l$ac_db_name"
